package org.ssmd3.service.impl;

import org.springframework.stereotype.Service;
import org.ssmd3.dao.UserMapper;
import org.ssmd3.pojo.User;
import org.ssmd3.service.UserService;

import javax.annotation.Resource;

@Service("/userService")
public class UserServiceImpl implements UserService {

    @Resource
    UserMapper userMapper;
    @Override
    public User getUser(String userName) {
        return userMapper.getUser(userName);
    }
}
